package xyz.zhouxf.rpc.serializer.impl;

import xyz.zhouxf.rpc.enumeration.SerializerCode;
import xyz.zhouxf.rpc.serializer.RpcSerializer;

/**
 * @author zhouxf
 * @date 2022/8/20
 */
public class KryoSerializer implements RpcSerializer {

    @Override
    public <T> byte[] serialize(T object) {
        return new byte[0];
    }

    @Override
    public <T> T deserialize(byte[] data, Class<T> type) {
        return null;
    }

    @Override
    public byte getCode() {
        return SerializerCode.KRYO.getCode();
    }
}
